package com.assets.asset.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.assets.common.annotation.Excel;
import com.assets.common.core.domain.BaseEntity;

/**
 * 报废列表对象 t_scrap
 *
 * @author bin
 * @date 2023-03-13
 */
public class TScrap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 资产编码 */
    private String assetCode;

    /** 报废单号 */
    @Excel(name = "报废单号")
    private String scrapCode;

    /** 清理人 */
    @Excel(name = "清理人")
    private String scraper;

    /** 报废说明 */
    @Excel(name = "报废说明")
    private String scrapRemark;

    /** 报废处置 */
    @Excel(name = "报废处置")
    private String scrapType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAssetCode(String assetCode)
    {
        this.assetCode = assetCode;
    }

    public String getAssetCode()
    {
        return assetCode;
    }
    public void setScrapCode(String scrapCode)
    {
        this.scrapCode = scrapCode;
    }

    public String getScrapCode()
    {
        return scrapCode;
    }
    public void setScraper(String scraper)
    {
        this.scraper = scraper;
    }

    public String getScraper()
    {
        return scraper;
    }
    public void setScrapRemark(String scrapRemark)
    {
        this.scrapRemark = scrapRemark;
    }

    public String getScrapRemark()
    {
        return scrapRemark;
    }
    public void setScrapType(String scrapType)
    {
        this.scrapType = scrapType;
    }

    public String getScrapType()
    {
        return scrapType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetCode", getAssetCode())
            .append("createTime", getCreateTime())
            .append("scrapCode", getScrapCode())
            .append("scraper", getScraper())
            .append("scrapRemark", getScrapRemark())
            .append("scrapType", getScrapType())
            .toString();
    }
}
